﻿using DongFangGuoKai.WMSPlatform.Domain.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.WMSPlatform.Service.BasicApp.Cell
{
    public interface ICellService
    {
        /// <summary>
        /// 列表显示
        /// </summary>
        /// <param name="logicalPartCode"></param>
        /// <param name="fullStatus"></param>
        /// <param name="status"></param>
        /// <param name="cname"></param>
        /// <param name="whid"></param>
        /// <param name="areid"></param>
        /// <param name="sheid"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="totalCount"></param>
        /// <returns></returns>
        List<TCells> GetCellList(string logicalPartCode, int fullStatus, int status, string cname, int whid, int areid, int sheid, int pageIndex, int pageSize, out int totalCount);

        /// <summary>
        /// 获取Excel仓位数据
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        List<TCells>? GetExcelCellData(int[] ids);

        /// <summary>
        /// 获取全部
        /// </summary>
        /// <returns></returns>
        List<TCells> GetAllCellList();

        /// <summary>
        /// 删除仓位list
        /// </summary>
        /// <param name="cells"></param>
        /// <returns></returns>
        bool DelCellList(List<TCells> cells);

        /// <summary>
        /// 添加仓位list
        /// </summary>
        /// <param name="tcelllls"></param>
        /// <returns></returns>
        bool AddCellList(List<TCells> tcelllls);

    }
}
